<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" isELIgnored="false" session="true"%>
<%@taglib prefix="s" uri="http://www.springframework.org/tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE html>
<html>
<head>
<base href="<%=basePath%>">
<title><s:message code="M_6300_BIS_DATA_TAG" /></title>
<%@ include file="/page/comPage/comCSS.html"%>
<%@ include file="/page/comPage/navbar.html"%>
</head>
<body>
	<div class="container-fluid">
		<div class="col-lg-12 btnDivCss">
			<button class="btn btn-info" id="query_btn">
					<s:message code="QUERY_TAG" />
				</button>
				<button class="btn btn-primary" id="add_btn">
					<s:message code="ADD_TAG" />
				</button>
				<button class="btn btn-primary" id="addDataCate_btn">
					<s:message code="ADD_DATA_CATE_TAG" />
				</button>
				<button class="btn btn-warning" id="updateDataCate_btn">
					<s:message code="UPDATE_DATA_CATE_TAG" />
				</button>
				<button class="btn btn-danger" id="deleteDataCate_btn">
					<s:message code="DELELE_DATA_CATE_TAG" />
				</button>
		</div>
		<div class="col-lg-12">
			<fieldset>
				<legend><s:message code="DATA_INFO_TAG" /></legend>
			</fieldset>
			<div class="col-lg-12">
				<form id="dataForm" class="form-horizontal">
					<div class="form-group">
						<label class="control-label col-lg-2" for="dataCateSel"> <s:message code="DATA_CATE_TAG" />
						</label>
						<div class="col-lg-3">
							<select id="dataCateSel" class="form-control"></select>
						</div>
					</div>
				</form>
			</div>
			<div id="dataListDiv" class="col-lg-12">
				<table id="dataListGrd" style="height: 1px;"></table>
				<div id="dataListPg"></div>
			</div>
		</div>
	</div>
	<!-- 新增Data Cate Dialog -->
	<div id="addDataCateDialog" class="modal fade myDialog" tabindex="-1" role="dialog" aria-labelledby="title" aria-hidden="true">
		<div class="modal-dialog">
			<div class="modal-content">
				<div class="modal-header">
					<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
					<h4 id="addDataCateDialog_title" class="modal-title">
						<s:message code="ADD_DATA_CATE_DIALOG" />
					</h4>
				</div>
				<!--Modal header-->
				<div class="modal-body">
					<form id="addDatacateDialog_dataCateForm" class="form-horizontal row">
						<label class="control-label col-lg-4 keyClass" for="addDataCateDialog_dataCateTxt"> <s:message code="DATA_CATE_TAG" />
						</label>
						<div class="col-lg-6">
							<input type="text" id="addDataCateDialog_dataCateTxt" class="form-control" maxlength="4" rel="tooltip" data-original-title="必须输入不超过4位的非中文字符"
								onKeyUp="value=value.replace(/[\W]/g,'')"/>
						</div>
						<label class="control-label col-lg-4 keyClass" for="addDataCateDialog_dataDescTxt"> <s:message code="DATA_DESC_TAG" />
						</label>
						<div class="col-lg-6">
							<input type="text" id="addDataCateDialog_dataDescTxt" class="form-control" maxlength="60" />
						</div>
						<label class="control-label col-lg-4" for="addDataCateDialog_dsc_data_IdTxt">第一列含义(data_id)</label>
						<div class="col-lg-6">
							<input type="text" id="addDataCateDialog_dsc_data_IdTxt" class="form-control" maxlength="20" />
						</div>
						<label class="control-label col-lg-4" for="addDataCateDialog_dsc_data_ExtTxt">第二列含义(data_ext)</label>
						<div class="col-lg-6">
							<input type="text" id="addDataCateDialog_dsc_data_ExtTxt" class="form-control" maxlength="20" />
						</div>
						<label class="control-label col-lg-4" for="addDataCateDialog_dsc_data_ItemTxt">第三列含义(data_item)</label>
						<div class="col-lg-6">
							<input type="text" id="addDataCateDialog_dsc_data_ItemTxt" class="form-control" maxlength="20" />
						</div>
						<label class="control-label col-lg-4" for="addDataCateDialog_dsc_ext_1Txt">第四列含义(ext_1)</label>
						<div class="col-lg-6">
							<input type="text" id="addDataCateDialog_dsc_ext_1Txt" class="form-control" maxlength="20" />
						</div>
						<label class="control-label col-lg-4" for="addDataCateDialog_dsc_ext_2Txt">第五列含义(ext_2)</label>
						<div class="col-lg-6">
							<input type="text" id="addDataCateDialog_dsc_ext_2Txt" class="form-control" maxlength="20" />
						</div>
						<label class="control-label col-lg-4" for="addDataCateDialog_dsc_ext_3Txt">第六列含义(ext_3)</label>
						<div class="col-lg-6">
							<input type="text" id="addDataCateDialog_dsc_ext_3Txt" class="form-control" maxlength="20" />
						</div>
						<label class="control-label col-lg-4" for="addDataCateDialog_dsc_ext_4Txt">第七列含义(ext_4)</label>
						<div class="col-lg-6">
							<input type="text" id="addDataCateDialog_dsc_ext_4Txt" class="form-control" maxlength="20" />
						</div>
						<label class="control-label col-lg-4" for="addDataCateDialog_dsc_ext_5Txt">第八列含义(ext_5)</label>
						<div class="col-lg-6">
							<input type="text" id="addDataCateDialog_dsc_ext_5Txt" class="form-control" maxlength="20" />
						</div>
						<label class="control-label col-lg-4" for="addDataCateDialog_dsc_data_DscTxt">第九列含义(data_dsc)</label>
						<div class="col-lg-6">
							<input type="text" id="addDataCateDialog_dsc_data_DscTxt" class="form-control" maxlength="20" />
						</div>
					</form>
				</div>
				<!--Modal body-->
				<div class="modal-footer">
					<a id="addDatacateDialog_cancelBtn" class="btn" data-dismiss="modal"> <s:message code="CANCEL_TAG" />
					</a> <a id="addDatacateDialog_addDateCateBtn" class="btn btn-primary"> <s:message code="COMMIT_TAG" />
					</a>
				</div>
				<!--Modal footer-->
			</div>
		</div>
	</div>
	<!-- 删除Data Cate Dialog -->
	<div id="deleteDataCateDialog" class="modal fade myDialog" tabindex="-1" role="dialog" aria-labelledby="title" aria-hidden="true">
		<div class="modal-dialog">
			<div class="modal-content">
				<div class="modal-header">
					<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
					<h4 class="modal-title">
						<s:message code="DELETE_DATA_CATE_DIALOG" />
					</h4>
				</div>
				<!--Modal header-->
				<div class="modal-body">
					<div class="row">
						<form id="deleteDataCateDialog_dataForm" class="form-horizontal row">
							<label class="control-label col-lg-3" for="deleteDataCateDialog_dataCateSel"><s:message code="DATA_CATE_TAG" /></label>
							<div class="col-lg-6">
								<select id="deleteDataCateDialog_dataCateSel" class="form-control"></select>
							</div>
						</form>
					</div>
				</div>
				<!--Modal body-->
				<div class="modal-footer">
					<a id="deleteDatacateDialog_cancelBtn" class="btn" data-dismiss="modal"> <s:message code="CANCEL_TAG" />
					</a> <a id="deleteDatacateDialog_deleteDateCateBtn" class="btn btn-danger"> <s:message code="DELETE_TAG" />
					</a>
				</div>
				<!--Modal footer-->
			</div>
		</div>
	</div>	

</body>
<%@ include file="/page/comPage/comJS.html"%>
<script type="text/javascript" src="js/page/6000/6300.js?v=2017040701"></script>
<script type="text/javascript" src="js/dialog/bis_data_6300_Dialog.js?v=2017040701"></script>
<jsp:include page="/page/dialog/bis_data_6300_Dialog.jsp"></jsp:include>
</html>